package com.sy.constant;

/**
 * 业务常量类
 */
public class BusinessConstant {
    /**
     * 属性描述: JSON消息类型
     */
    public static final String MEDIA_TYPE_JSON = "application/json;charset=utf-8";

    /**Session中用于保存正确验证码的值对应的属性名**/
    public static final String SESSION_VALIDATE_CODE = "session_validate_code";

    /**验证码的长度**/
    public static final int VALIDATE_CODE_LENGTH = 4;

    /**Session中登录用户对应的属性名**/
    public static final String SESSION_USER = "session_user";

    /**默认图片*/
    public static final String DEFAULT_PICTURE="http://49.234.18.194:8080/image/1.jpg";

    /**Redis密码*/
    public static final String REDIS_PASSWORD="123";

    /**上传后默认照片存放地址*/
    public static final String DEFAULT_PICTURE_PATH="http://49.234.18.194:8080/image/";

    /**上传地址*/
    public static final String SFTP_REQ_HOST ="49.234.18.194";

    /**用户名*/
    public static final String SFTP_REQ_USERNAME ="root";

    /**密码*/
    public static final String SFTP_REQ_PASSWORD ="Mark520Jano";

    /**端口号*/
    public static final int SFTP_DEFAULT_PORT =22;
}
